package cn.baimo.pojo;

import java.io.Serializable;

/**
 * ClassName: UserInfo
 * Description:用户信息类
 * date: 2020/8/26 0026 13:47:47
 * uid	            varchar(255)	主键	        用户id/账号
 * name	            varchar(255)	非空	        用户昵称
 * email	        varchar(255)		        邮箱
 * emailState	    int[1]		                邮箱访问等级
 * sex	            char(2)['男']		        性别
 * image	        varchar(255)		        用户头像
 * realName	        varchar(50)		            真实姓名
 * realNameState	int[1]		                真实姓名访问等级
 * intro	        varchar(255)		        个人介绍/简介
 * areaCode	        varchar(50)	    外键area表	地区编码
 * birthday	        date		                生日
 * birthdayState	int[1]		                生日访问等级
 * regDataTime	    datetime		            注册时间
 * homePage	        varchar(255)		        博客网址
 * homePageState	int[1]		                博客网址访问等级
 * qq	            varchar(50)		            QQ号码
 * qqState	        int[1]		                QQ号码访问等级
 * msn	            varchar(50)		            MSN号码
 * msnState	        int[1]		                MSN号码访问等级
 * sid	            int	            外键school表	学校id
 * sidState	        int[1]		                学校访问等级
 * faculty	        varchar(50)		            院系
 * workAreaCode	    varchar(50)	    外键area表	工作地点地区编码
 * workState	    int[1]		                工作信息访问等级
 * workCompany	    varchar(50)		            工作单位名称
 * workStartDate	varchar(50)		            工作开始时间
 * workEndDate	    varchar(50)		            工作结束时间
 * workPosition	    varchar(50)		            工作职位/部门
 * backdrop	        varchar(255)		        背景/界面皮肤
 *
 * @author BaiMo
 * @since JDK 1.8
 */
public class UserInfo implements Serializable {
    private User user;//用户
    private String name;//用户昵称
    private String email;//邮箱
    private int emailState;//邮箱访问等级
    private String sex;//性别
    private String image;//用户头像
    private String realName;//真实姓名
    private int realNameState;//真实姓名访问等级
    private String intro;//个人介绍/简介
    private Area area;//地区
    private String birthday;//生日
    private int birthdayState;//生日访问等级
    private String regDataTime;//注册时间
    private String homePage;//博客网址
    private int homePageState;//博客网址访问等级
    private String qq;//QQ号码
    private int qqState;//QQ号码访问等级
    private String msn;//MSN号码
    private int msnState;//MSN号码访问等级
    private School school;//学校id
    private int sidState;//学校访问等级
    private String faculty;//院系
    private Area workArea;//工作地点地区编码
    private int workState;//工作信息访问等级
    private String workCompany;//工作单位名称
    private String workStartDate;//工作开始时间
    private String workEndDate;//工作结束时间
    private String workPosition;//工作职位/部门
    private String backdrop;//背景/界面皮肤

    public UserInfo() {
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "user=" + user +
                ", name='" + name + '\'' +
                ", email='" + email + '\'' +
                ", emailState=" + emailState +
                ", sex='" + sex + '\'' +
                ", image='" + image + '\'' +
                ", realName='" + realName + '\'' +
                ", realNameState=" + realNameState +
                ", intro='" + intro + '\'' +
                ", area=" + area +
                ", birthday='" + birthday + '\'' +
                ", birthdayState=" + birthdayState +
                ", regDataTime='" + regDataTime + '\'' +
                ", homePage='" + homePage + '\'' +
                ", homePageState=" + homePageState +
                ", qq='" + qq + '\'' +
                ", qqState=" + qqState +
                ", msn='" + msn + '\'' +
                ", msnState=" + msnState +
                ", school=" + school +
                ", sidState=" + sidState +
                ", faculty='" + faculty + '\'' +
                ", workArea=" + workArea +
                ", workState=" + workState +
                ", workCompany='" + workCompany + '\'' +
                ", workStartDate='" + workStartDate + '\'' +
                ", workEndDate='" + workEndDate + '\'' +
                ", workPosition='" + workPosition + '\'' +
                ", backdrop='" + backdrop + '\'' +
                '}';
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getEmailState() {
        return emailState;
    }

    public void setEmailState(int emailState) {
        this.emailState = emailState;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public int getRealNameState() {
        return realNameState;
    }

    public void setRealNameState(int realNameState) {
        this.realNameState = realNameState;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public Area getArea() {
        return area;
    }

    public void setArea(Area area) {
        this.area = area;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public int getBirthdayState() {
        return birthdayState;
    }

    public void setBirthdayState(int birthdayState) {
        this.birthdayState = birthdayState;
    }

    public String getRegDataTime() {
        return regDataTime;
    }

    public void setRegDataTime(String regDataTime) {
        this.regDataTime = regDataTime;
    }

    public String getHomePage() {
        return homePage;
    }

    public void setHomePage(String homePage) {
        this.homePage = homePage;
    }

    public int getHomePageState() {
        return homePageState;
    }

    public void setHomePageState(int homePageState) {
        this.homePageState = homePageState;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public int getQqState() {
        return qqState;
    }

    public void setQqState(int qqState) {
        this.qqState = qqState;
    }

    public String getMsn() {
        return msn;
    }

    public void setMsn(String msn) {
        this.msn = msn;
    }

    public int getMsnState() {
        return msnState;
    }

    public void setMsnState(int msnState) {
        this.msnState = msnState;
    }

    public School getSchool() {
        return school;
    }

    public void setSchool(School school) {
        this.school = school;
    }

    public int getSidState() {
        return sidState;
    }

    public void setSidState(int sidState) {
        this.sidState = sidState;
    }

    public String getFaculty() {
        return faculty;
    }

    public void setFaculty(String faculty) {
        this.faculty = faculty;
    }

    public Area getWorkArea() {
        return workArea;
    }

    public void setWorkArea(Area workArea) {
        this.workArea = workArea;
    }

    public int getWorkState() {
        return workState;
    }

    public void setWorkState(int workState) {
        this.workState = workState;
    }

    public String getWorkCompany() {
        return workCompany;
    }

    public void setWorkCompany(String workCompany) {
        this.workCompany = workCompany;
    }

    public String getWorkStartDate() {
        return workStartDate;
    }

    public void setWorkStartDate(String workStartDate) {
        this.workStartDate = workStartDate;
    }

    public String getWorkEndDate() {
        return workEndDate;
    }

    public void setWorkEndDate(String workEndDate) {
        this.workEndDate = workEndDate;
    }

    public String getWorkPosition() {
        return workPosition;
    }

    public void setWorkPosition(String workPosition) {
        this.workPosition = workPosition;
    }

    public String getBackdrop() {
        return backdrop;
    }

    public void setBackdrop(String backdrop) {
        this.backdrop = backdrop;
    }
}
